import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index.js'
import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css'
import theme from 'muse-ui/lib/theme'
import { Axios } from '@/api/'
import BackImg from '@/components/index.js'
Vue.config.productionTip = false

Vue.use(MuseUI)
Vue.use(BackImg)
theme.add('teal', {
  primary: '#D8000F',
  secondary: '#889900',
  success: '#4caf50',
  warning: '#ffeb3b'
}, 'light')

theme.use('teal')

Vue.prototype.$http = Axios
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
